package com.a2j.beans.car;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author: bzb
 * Data: 2021/10/29 14:44
 * Desc: 车规
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "车规属性")
public class CarSpecification {

    @ApiModelProperty(value = "车规id", required = true)
    private Integer id; // 车规id

    @ApiModelProperty(value = "车规名称", required = true)
    private String name; // 车规名称

    @ApiModelProperty(value = "备注")
    private String remark; // 备注

    @ApiModelProperty(value = "开关状态 (0:关 1:开)")
    private Integer enable; // 是否可用 0: 不可用  1:可用

    @ApiModelProperty(value = "创建时间")
    private Date createTime; // 创建时间

    @ApiModelProperty(value = "创建人")
    private String createrName; // 创建人
}